#ifndef _IM_SERVER_PUSH_SERVICE_
#define _IM_SERVER_PUSH_SERVICE_

#include "redis_executor/simple_redis_locator.h"
#include "redis_executor/redis_executor.h"
#include "base/logging.h"
#include "base/singleton.h"
#include "PushService_types.h"
#include "PushService.h"
#include "melon/service/service_arch.h"
#include "melon/service/base_service_impl.h"

namespace imserver {

class PushServiceHandler : public PushServiceIf, public melon::service::BaseServiceImpl {
public:
  PushServiceHandler() {}

  void SetUidToken(int64_t uid, const std::string& token);

  void Push(int64_t uid, const std::string& content, int64_t timestamp);

};

}

#endif // _IM_SERVER_PUSH_SERVICE_
